package com.zy.example;


import org.apache.log4j.Logger;

/**
 * Created by Allen on 2017/3/5.
 */
public class Demo {

    static Logger logger = Logger.getLogger("FILE");

    public static void main(String[] args) {
        logger.trace("trace level");
        logger.debug("debug level");
        logger.info("info level");
        logger.warn("warn level");
        logger.error("error level");
        logger.fatal("fatal level");
    }





}
